<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib  uri="http://www.springframework.org/tags/form" prefix="form" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

Customer Login: <br/>
<form:form  modelAttribute="customer"  method="POST" action="login.htm" >
     User Name: <form:input path="userName"/><font color="red"><form:errors path="userName"/></font><br>
	 Password: <form:password path="password"/><font color="red"><form:errors path="password"/></font><br>
	 <input type="hidden" name="type" value="CUSTOMER" />  
	 <input align="middle" type="submit" value="submit"/>
</form:form>
 